package com.xiaoshuidi.cloud.module.member.mq.producer;

import com.xiaoshuidi.cloud.framework.systemevent.core.LeaseSystemEventProducer;
import com.xiaoshuidi.cloud.framework.systemevent.core.data.LeaseSystemEventMobileModify;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class MemberUpdateMoibleProducer {
    @Resource
    private LeaseSystemEventProducer producer;

    public void sendUpdateMobile(LeaseSystemEventMobileModify mobileModify) {

        producer.send(mobileModify);
    }
}
